package com.hhkj.study.admin.user.model.res;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @Author luowu
 * @Date 2025/1/9 涵 14:42:26
 */
@Data
public class UserStatisticExcelRes {

    /**
     * 购买者姓名
     */
    @Excel(name = "姓名", width = 20, needMerge = true, sort = 1)
    private String buyerName;
    /**
     * 购买者手机号
     */
    @Excel(name = "手机号", width = 20, needMerge = true, sort = 2)
    private String buyerMobile;
    /**
     * 专业
     */
    @Excel(name = "专业", width = 20, needMerge = true, sort = 3)
    private String completeName;
    /**
     * 课程名称
     */
    @Excel(name = "课程名称", width = 20, needMerge = true, sort = 4)
    private String lessonName;
    /**
     * 总时长(s)
     */
    @Excel(name = "总时长(秒)", width = 20, needMerge = true, sort = 5)
    private Integer totalDuration;
    /**
     * 听课时长(s)
     */
    @Excel(name = "最近一次听课时长(秒)", width = 20, needMerge = true, sort = 6)
    private Integer listenedDuration;
    /**
     * 听课时长(s)
     */
    @Excel(name = "听课状态", width = 20, needMerge = true, sort = 6, readConverterExp = "0=未学习,1=学习中,2=已学习")
    private Integer listenedStatus;
    /**
     * 听课开始时间
     */
    @Excel(name = "听课开始时间", width = 20, needMerge = true, sort = 7, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date listenedStartTime;
    /**
     * 听课结束时间
     */
    @Excel(name = "听课结束时间", width = 20, needMerge = true, sort = 8, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date listenedEndTime;
}
